{extend name="home/base" /}
{block name="body"}
{php}
use \fast\lucn\Lucn;
{/php}
		<section class="slider">
		    <!--<div class="line-6"></div>-->
		    
			<!--轮播-->
		<div class="uk-slidenav-position" data-uk-slideshow>
                                <ul class="uk-slideshow" data-uk-slideshow="{autoplay:true,}">
								    {volist name="slider" id="v"}
                                    <li><a href="{$v.link}"><img src="{$v.image}" alt="{$v.title}"></a></li>
									{/volist}
                                </ul>
                                <a href="" class="uk-slidenav uk-slidenav-contrast uk-slidenav-previous" data-uk-slideshow-item="previous"></a>
                                <a href="" class="uk-slidenav uk-slidenav-contrast uk-slidenav-next" data-uk-slideshow-item="next"></a>
                                <ul class="uk-dotnav uk-dotnav-contrast uk-position-bottom uk-text-center uk-flex-center">
								    {volist name="slider" id="v" key="k"}
                                    <li data-uk-slideshow-item="{$k-1}"><a href=""></a></li>
									{/volist}
                                </ul>
                            </div>


		</section>
		
		<section class="about pt-50 pb-50">
		<div class="uk-container uk-container-center">
		    <div class="title pb-30 uk-text-center uk-container-center">
			    <h3>关于我们</h3>
			    <h4>ABOUT US</h4>
			    <div class="line-3"></div>
			</div>
			<div class="content uk-grid">
			<div class="uk-width-1-3"><img src="/assets/home/picture/201608311472635093532722.jpg"></div>
			<div class="uk-width-2-3">
			<p>淮阳县金农实业有限公司成立于2004年12月，位于淮阳县产业集聚区，是一家集黄花菜及时令蔬菜种植加工(冷藏保鲜、速冻)、冷链于一体的农业产业化省级重点龙头企业，是国家商务部现代农产品冷链物流试点建设单位，一年四季向全国蔬菜市场提供速冻黄花菜的唯一供应商。公司占地225亩，拥有目前全省最大现代化的50000立方米的大型冷库一座，符合QS安全生产的16600平方米标准化厂房一幢，年发电220万千瓦时的2兆瓦光伏电站一座，现代化的速冻蔬菜生产线2条、蔬菜清洗线4条，年加工冷藏蔬菜能力5万吨，公司现有固定资产2亿元。</p>
			<a href="{:url('about/show','id=1')}"><button class="uk-button uk-button-large uk-button-primary" type="button">了解更多</button></a>
			</div>
			</div>
		</div>
		</section>
		
		<section class="news pt-50 pb-50 bg-h">
		<div class="uk-container uk-container-center">
		    <div class="title pb-30 uk-text-center uk-container-center">
			    <h3>新闻动态</h3>
			    <h4>PRODUCT SHOW</h4>
			    <div class="line-3"></div>
			</div>
			<div class="content uk-grid uk-grid-width-1-2">
			    <div>
				    <a href="{:url('article/show','id='.$news[0]['id'])}">
			        <div class="shade">
					    <div class="zimg">
				            <img src="/static/timthumb/?src={$news[0]['image']}&h=364&w=548">
						</div>
				        <div class="shade_txt">{$news[0]['title']}</div>
				    </div>
					</a>
				</div>
			    <div>
				    <ul>
					    {volist name="news" id="v" offset="1" length='3' key="k"}
						<a href="{:url('article/show','id='.$v['id'])}">
				        <li{if condition="$k gt 1"} class="mt-20"{/if}>
						    <div class="date">
							    <div class="month">{php}echo Lucn::chinaMonth(date('m',$v['createtime']));{/php}月</div>
							    <div class="day">{php}echo date('d',$v['createtime']);{/php}</div>
							</div>
							<div class="text">
							    <div class="title lucn-nowrap">{php}echo Lucn::msubstr($v['title'],0,20);{/php}</div>
							    <div class="des lucn-nowrap">{php}echo Lucn::msubstr($v['description'],0,24);{/php}</div>
							</div>
							<!--<div class="icon">
							    >
							</div>-->
						</li>
						</a>
						{/volist}
				    </ul>
				</div>
			
			</div>
		</div>
		</section>
		
		<section class="product pt-50 pb-50">
		<div class="uk-container uk-container-center">
		    <div class="title pb-30 uk-text-center uk-container-center">
			    <h3>产品展示</h3>
			    <h4>PRODUCT SHOW</h4>
			    <div class="line-3"></div>
			</div>
			<div class="content uk-grid uk-grid-width-1-4">
			    {volist name="product" id="v"}
				<a href="{:url('product/show','id='.$v['id'])}">
				    <div class="zimg">
				        <img src="/static/timthumb/?src={$v['image']}&h=193&w=257">
					</div>
				    <p class="uk-text-center">{$v.title}</p>
				</a>
				{/volist}
			    <!--<div>
			        <img src="/assets/home/images/p11.jpg">
				    <p>七芯黄花菜</p>
				</div>
				<div>
			        <img src="/assets/home/images/p12.jpg">
				    <p>七芯黄花菜</p>
				</div>
				<div>
			        <img src="/assets/home/images/p13.jpg">
				    <p>七芯黄花菜</p>
				</div>
				<div>
			        <img src="/assets/home/images/p14.jpg">
				    <p>七芯黄花菜</p>
				</div>
			    -->
			</div>
		</div>
		</section>
{/block}